package com.example.sample.activity;

import com.example.app.BaseActivity;
import com.example.hellojni.HelloJni;

import android.app.Activity;
import android.os.Bundle;

import net.liteheaven.xblib.common.ui.SingleToast;

public class HelloJniActivity extends BaseActivity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		HelloJni jni = new HelloJni();
		String text = jni.stringFromJNI();
		SingleToast.show(this, text, 1000);
	}

    static {
        System.loadLibrary("aa");
    }
}
